/*
 * File:   KeyCommand.cpp
 * Author: Elevator
 *
 * Created on 18 Май 2013 г., 0:23
 */

#include "Command.h"

Command::Command( CommandType type, int key ) :
	_key( key ),
	_type( type )
{
}

Command::Command( const Command& orig ) :
	_key( orig._key ),
	_type( orig._type )
{
}

const int& Command::GetKey( ) const
{
	return _key;
}

const CommandType& Command::GetType( ) const
{
	return _type;
}
